package com.ruoyi.system.service.impl;

import com.ruoyi.system.mapper.XcxPublicMapper;
import com.ruoyi.system.service.XcxPublicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Map;

@Service
public class XcxPublicServiceimpl implements XcxPublicService {

    @Autowired
    XcxPublicMapper xcxPublicMapper;

    @Override
    public Map<String, Object> statistics_list() {
        Map<String,Object> map=new HashMap<>();
        map.put("userall",xcxPublicMapper.user_all());
        map.put("rand_user",xcxPublicMapper.rand_user());
        map.put("rand_form",xcxPublicMapper.rand_form());
        map.put("pending",xcxPublicMapper.pending());
        return map;
    }
}
